package com.mk.admin.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("检查检验预约")
public class CheckTestReserveVo {
    @ApiModelProperty(value = "患者id", required = true)
    private String patId;
    @ApiModelProperty(value = "现病史")
    private String caseHistory;
    @ApiModelProperty(value = "既往史")
    private String previousHistory;
    @ApiModelProperty(value = "过敏史")
    private String allergy;
    @ApiModelProperty(value = "主诉")
    private String patComplaint;
    @ApiModelProperty(value = "医生id", required = true)
    private String doctorCode;
    @ApiModelProperty(value = "开单科室代码", required = true)
    private String billDeptCode;
    @ApiModelProperty(value = "就诊号", required = true)
    private String inTreatCode;
    @ApiModelProperty(value = "申请日期 预约日期", required = true)
    private String applyDate;
    @ApiModelProperty(value = "预约项目详情 array数组 [\n" +
            "        {\"ItemCd\":\"0162\",\"ItemName\": \"常规B超\",\"ItemType\": \"1检查,2检验\",\"ItemDetails\":\n" +
            "            [{\"ItemCd\": \"0162\",\"ItemDCd\": \"00000516\",\"ItemDName\": \"超声计算机图文报告\",\"PlaceCd\": \"00000516\",\"PlaceName\": \"腹部(肝、胆、胰、脾、双肾)\"}\n" +
            "            ]\n" +
            "        }\n" +
            "    ]\n", required = true)
    private List<CheckTestReserveItem> item;
    @ApiModelProperty(value = "医嘱分类编号 预约项目详情子节点", required = true)
    private String itemCd;
    @ApiModelProperty(value = "医嘱项名称 预约项目详情子节点", required = true)
    private String itemName;
    @ApiModelProperty(value = "医嘱类别 1检查,2检验", required = true)
    private String itemType;
    @ApiModelProperty(value = "执行科室代码 预约项目详情子节点", required = true)
    private String exDeptCode;
    @ApiModelProperty(value = "检查明细节点 检验申请单不传")
    private String itemDetails;
    @ApiModelProperty(value = "医嘱明细编码 检查明细节点子节点")
    private String itemDCd;
    @ApiModelProperty(value = "医嘱明细名称 检查明细节点子节点")
    private String itemDName;
    @ApiModelProperty(value = "检查部位节点 检验申请单不传")
    private List<Object> itemPlaces;
    @ApiModelProperty(value = "部位编码 检查部位节点子节点")
    private String placeCd;
    @ApiModelProperty(value = "部位名称 检查部位节点子节点")
    private String placeName;
    @ApiModelProperty(value = "诊断 \"diagnose\":[{\"ICD\":\"M17.300\",\"ICDName\": \"创伤后膝关节病，其他的\"},{\"ICD\": \"M17.900x004\",\"ICDName\": \"单侧膝关节骨性关节病\"}]", required = true)
    private List<CheckTestReserveDiagnose> diagnose;
    @ApiModelProperty(value = "诊断编码 诊断子节点")
    private String ICD;
    @ApiModelProperty(value = "诊断名称 诊断子节点")
    private String ICDName;
}
